import java.util.Scanner;
class IfTest {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x = 4;
        System.out.println("请输入x的值");
        x = scanner.nextInt();
        if(x == 3) {
            System.out.println("x must be 3");
        } else {
            System.out.println("x is not 3");
        }
        System.out.println("This runs no matter what");
    }    
}
